create table "LabTransferHeader"(
			 "LabTransferHeaderId" serial primary key,
			 "TransferNumber" text,
			 "TransferedBy" int references "Account"("AccountId"),
			 "TransferedDate" timestamp without time zone,
			 "TransferedLocationId" int references "Location"("LocationId")
);


create table "LabTransferDetail"(
			 "LabTransferDetailId" serial primary key,
			 "LabTransferHeaderId" int references "LabTransferHeader"("LabTransferHeaderId"),
			 "NewLabBookingDetailId" int references "NewLabBookingDetail"("NewLabBookingDetailId")			 
);

alter table "LabTransferHeader" add column "ReceivedBy" int references "Account"("AccountId"),
			add column "ReceivedDate" timestamp without time zone;
